// 基于template/src/views/\{{appModules}}/\{{pages@DECALENDAREXPVIEW}}/\{{spinalCase page.codeName}}-model.ts.hbs生成
import { ICalendarExpViewModel } from "@/core/interface/view/model";
function getModel(): ICalendarExpViewModel {
  return {
  {{> @macro/view/view-model.hbs page=page}}
  	sideBarLayout: '{{#eq page.sideBarLayout 'TOP'}}TOP{{else}}LEFT{{/eq}}',
{{#page.ctrls}}
  {{#eq controlType 'CALENDAREXPBAR'}}
		expBarName: '{{codeName}}',
		expBarWidth: {{width}},
		expBarHeight: {{height}}
  {{/eq}}
{{/page.ctrls}}        
  }
}

export const model = getModel();